/**
 * This is the sevice class for those actions about user
 *
 */
package cn.fanyamin.business;

import java.util.List;

import cn.fanyamin.domain.Module;
import cn.fanyamin.domain.Role;



/**
 * @author walter.fan@gmail.com on 07/18/06
 *
 */
public interface RoleService extends ICRUD<Integer, Role>  {
	List<Module> getAllModuleList();

	List<Module> getModuleList(int roleID);
	
	int createModule(Module module);

	Module retrieveModule(int moduleID);

	int updateModule(Module module);

	int deleteModule(int moduleID);
}
